package com.reading.common.persistence.view;

import com.reading.common.entity.view.BookComment;

import javax.annotation.Resource;
import java.util.List;

@Resource
public interface BookCommentMapper {
    Integer deleteByPrimaryKey(Integer id);

    Integer insert(BookComment record);

    List<BookComment> selectCommentByBookId(Integer bookId);

    Integer selectCollectCountByBookId(Integer bookId);
}